package com.nuoniu.sibanyun.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.entity.erp.barcode.ErpBarcodeRuleContent;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("条码规则内容VO")
@Data
public class ErpBarcodeRuleContentVo extends ErpBarcodeRuleContent {

    /***********  条码属性-适用对象 **********/
    @ApiModelProperty(value = "对应字段id")
    @TableField("voucher_field_id")
    private Integer voucherFieldId;

    @ApiModelProperty(value = "对应字段")
    @TableField("voucher_field")
    private String voucherField;

    @ApiModelProperty(value = "对应字段名称")
    @TableField("voucher_field_name")
    private String voucherFieldName;



    /***********  单据设计 **********/
    @ApiModelProperty(value = "字段编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "控件类型")
    @TableField("column_type")
    private String columnType;

    @ApiModelProperty(value = "页签 （表头 表尾 明细 汇总 等等）")
    @TableField("data_tab")
    private String dataTab;

    @ApiModelProperty(value = "数据类型 1：基础 2：自定义 3.引用属性")
    @TableField("data_type")
    private Integer dataType;




}
